var rootPath = getRootPath();
var uid;
$(function() {
	var isPhone = isPhoneScreen();	
    //常用应用
	headerMenuShow($("#commonApplication"))
	//注册  登录
	login_reg($(".navRight"));
	var clientW = document.body.clientWidth;
	//导航链接
	$(".applycation .app").click(function() {
		var url = $(this).data("url");
		window.open(url);
	})	
});

/**
 * 检查屏幕
 * > 600  电脑
 * @returns
 */
function isPhoneScreen() {
	var width = window.screen.width;
	var isPhone = false;
	if(width < 601) {
		isPhone = true;
	}
	return isPhone;
}